import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {SharedModule} from '../public/shared/shared.module';
import {IndexComponent} from './index/index.component';
import {RouterModule} from '@angular/router';
import {masterRoutes} from './master.routes';
import {LayoutModule} from '../layout/layout.module';
import {MasterGuard} from './master.guard';

@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(masterRoutes),
    SharedModule,
    LayoutModule
  ],
  declarations: [
    IndexComponent
  ],
  providers: [
    MasterGuard
  ]
})
export class MasterModule {
}
